<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><section id="header">
  <?php include template("content","top"); ?>
  <div class="top-slide">
    <div class="search">
    </div>
    <div class="slide-content">
      <div class="slide"><a href="/plan/2"><img src="../uploadfile/2.jpg" class="img-responsive" alt=""></a></div>
      <div class="slide"><a href="/plan/1"><img src="../uploadfile/4.jpg" class="img-responsive" alt=""></a></div>
      <div class="slide"><a href="/plan/5"><img src="../uploadfile/5.jpg" class="img-responsive" alt=""></a></div>
    </div>
    <div class="prev hidden-xs"></div>
    <div class="next hidden-xs"></div>
    <div class="pagination"><div class="bullets"></div></div>
  </div>
  <nav>
    <div class="container">
      <div style="position: relative;">
        <div class="nav-content">
          <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=b43f1459ac702900c8d44c91a5e796dd&action=category&catid=0&num=25&siteid=%24siteid&order=listorder+ASC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">修改</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$data = $content_tag->category(array('catid'=>'0','siteid'=>$siteid,'order'=>'listorder ASC','limit'=>'25',));}?>
            <div class="nav-item">
              <a href="#"><div class="buy-media"><i class="fa fa-2x fa-home"></i><h6>首页</h6></div></a>
            </div>
            <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
            <div class="nav-item">
              <a href="<?php echo $r['url'];?>"><div class="buy-media"><i class="fa fa-2x <?php echo $r['image'];?>"></i><h6><?php echo $r['catname'];?></h6></div></a>
            </div>
            <?php $n++;}unset($n); ?>
          <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
        </div>
      </div>
    </div>
  </nav>
</section>
